<?php //var_dump($category);?>
<div id="content_left" >
    <div id="head_menu" >
        <div class="head_menu_h2">
            <h2 >sopten</h2>
        </div>

        <div class="head_menu_h3">
            <h3 class="head_menu_h33">Danh sách phòng ban</h3>
        </div>
    </div><!---End head_menu--->
    <div class="clear"></div>
    <?php foreach($category as $item):?>
    <div class="left_menu_drop">
        <h4 class="left_menu_drop4"><a href="<?php echo site_url('upload/get/view/'.$item['0']->idCat)?>"><?php echo $item['0']->nameCat;?></a></h4>
        <ul>
            <?php if(isset($item['1'])): foreach($item['1'] as $list_item):?>
            <li><a href="<?php echo site_url('upload/get/view/'.$list_item->idCat)?>"><?php echo $list_item->nameCat;?></a></li>
            <?php endforeach; endif;?>
        </ul>
    </div>
    <?php endforeach; ?>
</div><!---End content_left--->
<input type="hidden" name="all" value="1">
<input type="hidden" name="offset" value="12">
<input type="hidden" name="start" value="0">